<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>




<html>
<f:view>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Envio de email</title>
</head>
<body>
	<div id="box1" style="width: 84%; height: auto;">
		<h:form>
			<h:panelGrid columns="3">
				<h:outputLabel value="Para:" />
				<h:inputText value="#{enviaEmail.entidadeEmail.para}" id="para" />
				<h:message for="para"></h:message>

				<h:outputLabel value="Mensagem: " />
				<h:inputTextarea value="#{enviaEmail.entidadeEmail.msg}" id="msg" />
				<h:message for="msg"></h:message>
			</h:panelGrid>
			<table>
				<tr>
					<td>
						<p><h:commandButton value="Confirmar"
						action="#{enviaEmail.email}" /></p>
					</td>
					<td>
						<p><h:commandButton value="Limpar" /></p>
					</td>
					<td>
						<p><h:commandButton value="Cancelar" /></p>
					</td>
				</tr>
			</table>
		</h:form>
	</div>
</body>
</f:view>
</html>